/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : 组合 sku , 数量, 以及运费的一个简单结构, 便于存储
 */

package org.wzq.learn.domain.order;

import org.wzq.learn.adaptor.ItemSku;

import java.math.BigDecimal;

public class SkuAndQtyAndFreight {
    public final ItemSku itemSku;
    public final int quanlity;
    public final String remark;

    private BigDecimal freight;

    public SkuAndQtyAndFreight(ItemSku itemSku, int quanlity, String remark) {
        this.itemSku = itemSku;
        this.quanlity = quanlity;
        this.remark = remark;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }
}
